<template>
  <div>
    <ul>
      <li @click="handleTab(1)">首页</li>
      <li @click="handleTab(2)">列表</li>
      <li @click="handleTab(3)">测试</li>
    </ul>
  </div>
</template>

<script>
    export default {
      name: "tab-list",
      data: function () {
        return {

        }
      },
      methods: {
        handleTab: function(v){
          this.$emit('parentHandle',v);
        }
      }
    }
</script>

<style scoped>

</style>
